﻿using Core.CurrentFramework.infrastructure;
using Core.CurrentFramework.infrastructure.interfaces;
using Core.CurrentFramework.Repository.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace Core.CurrentFramework.Service
{
    public interface IUserManagement : IDBBaseCore
    {
        /// <summary>
        /// 注册
        /// </summary>
        /// <param name="user"></param>
        /// <returns></returns>
        int RigsterUser(UsersInfo user);

        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="user"></param>
        /// <returns></returns>
        bool LoginUser(string Email, string UserPwd);
    }
}
